package JavaBase.Polymorphism;

public class Cat extends Animal{

    public void eat()
    {
        System.out.println("小猫吃鱼。");
    }
    public void cry()
    {
        System.out.println("喵~~~~~~");
    }
    public void catchMouse()
    {
        System.out.println("小猫捉老鼠。");
    }
}
